package com.gxuwz.com_property;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@ServletComponentScan // 启用自定义 Servlet 过滤器扫描
@EnableTransactionManagement  //开启事务
@EnableSwagger2
@EnableScheduling
@EnableAsync
public class ComPropertyApplication {

    public static void main(String[] args) {
        SpringApplication.run(ComPropertyApplication.class, args);
    }

}
